bufio.Reader.w (field)

31 uses

	bufio (current package)
		bufio.go#L35: 	r, w         int       // buf read and write positions
		bufio.go#L102: 		copy(b.buf, b.buf[b.r:b.w])
		bufio.go#L103: 		b.w -= b.r
		bufio.go#L107: 	if b.w >= len(b.buf) {
		bufio.go#L113: 		n, err := b.rd.Read(b.buf[b.w:])
		bufio.go#L117: 		b.w += n
		bufio.go#L150: 	for b.w-b.r < n && b.w-b.r < len(b.buf) && b.err == nil {
		bufio.go#L155: 		return b.buf[b.r:b.w], ErrBufferFull
		bufio.go#L160: 	if avail := b.w - b.r; avail < n {
		bufio.go#L223: 	if b.r == b.w {
		bufio.go#L243: 		b.w = 0
		bufio.go#L251: 		b.w += n
		bufio.go#L257: 	n = copy(p, b.buf[b.r:b.w])
		bufio.go#L268: 	for b.r == b.w {
		bufio.go#L286: 	if b.lastByte < 0 || b.r == 0 && b.w > 0 {
		bufio.go#L294: 		b.w = 1
		bufio.go#L306: 	for b.r+utf8.UTFMax > b.w && !utf8.FullRune(b.buf[b.r:b.w]) && b.err == nil && b.w-b.r < len(b.buf) {
		bufio.go#L310: 	if b.r == b.w {
		bufio.go#L315: 		r, size = utf8.DecodeRune(b.buf[b.r:b.w])
		bufio.go#L338: func (b *Reader) Buffered() int { return b.w - b.r }
		bufio.go#L354: 		if i := bytes.IndexByte(b.buf[b.r+s:b.w], delim); i >= 0 {
		bufio.go#L363: 			line = b.buf[b.r:b.w]
		bufio.go#L364: 			b.r = b.w
		bufio.go#L371: 			b.r = b.w
		bufio.go#L377: 		s = b.w - b.r // do not rescan area we scanned before
		bufio.go#L538: 	if b.w-b.r < len(b.buf) {
		bufio.go#L542: 	for b.r < b.w {
		bufio.go#L563: 	n, err := w.Write(b.buf[b.r:b.w])